﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMS.Model
{
    public class HumanResource : User
    {
        private string _teacherTitle;
        //private string _groupName;

        // TODO : Tuple of User and Position maybe?
        public override bool Equals(object obj)
        {
            HumanResource resource = obj as HumanResource;
            if (resource == null) return false;
            return this.Id == resource.Id;
        }
        public override int GetHashCode()
        {
            return base.GetHashCode();
        }

        public string Title
        {
            get { return this._teacherTitle; }
            set { this._teacherTitle = value; }
        }
        /*
        public string GroupName
        {
            get { return this._groupName; }
            set { this._groupName = value; }
        } */
    }
}
